import React, { Component } from 'react'
import {withRouter} from "react-router-dom"
import IndexRouter from "./router/indexRouter"
import NavFont from "./components/navFoot"

import "./reset.css"
import "./App.css"
// import $ from "jquery";



class componentName extends Component {
    // constructor(props, context) {
    //     super(props, context)
        
    // }
    
    componentDidMount(){
        // console.log(this.props.location.pathname)
        
    }
    render() {
        let {pathname} = this.props.location
        return (
            <div>
                <main>
                    <IndexRouter></IndexRouter>
                    <NavFont  prop = {pathname}></NavFont>
                </main>
            </div>
        )
    }
}


export default withRouter(componentName)